def submit_order(self):
    data = {
        "document_number": "INB-20231001",
        "warehouse": self.warehouse_combo.currentData(),
        "details": [{"material": 1, "quantity": 100}]
    }
    response = requests.post("http://localhost:8000/api/inbound/", json=data)
    if response.status_code == 201:
        print("入库单创建成功！")